package com.ok.pay.domain.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @ClassName OkOrderVO
 * @Description TODO
 * @Author hw
 * @Date 2024/5/23 23:35
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class OkOrderVO {
    private Long id;

    @ApiModelProperty(value = "订单号")
    private String orderName;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "奖品名")
    private String prizeName;

    @ApiModelProperty(value = "对应积分")
    private Double integral;

    @ApiModelProperty(value = "订单详情")
    private String detailed;

    @ApiModelProperty(value = "地址信息")
    private String addr;

    @ApiModelProperty(value = "状态")
    private Integer state;

    @ApiModelProperty(value = "收货人")
    private String uName;

    @ApiModelProperty(value = "收货电话")
    private String phone;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
